<div class="itemsContent">
<?php foreach ($data as $key => $value){ 
$name = isset($value->ln->name) ? $value->ln->name : $value->name;
$anons = isset($value->ln->anons) ? $value->ln->anons : $value->anons;
?>
	<div class="itemWrap d_t">
		<div class="scroll-p-bl-news-img fl_l">
			<a href="<?php echo Yii::app()->createUrl('content/item', array('category'=>$category->alias, 'item'=>$value->alias));?>" class="d_b">
				<?php echo $this->material_image(0, $value->file, '150'); ?>
			</a>
		</div>
		<div class="itemWrap-content">
			<span><?php echo Yii::app()->dateFormatter->formatDateTime($value->crdate, 'long', null);?></span>
			<a href="<?php echo Yii::app()->createUrl('content/item', array('category'=>$category->alias, 'item'=>$value->alias));?>"><?php echo $name;?></a>
			<p><?php echo $anons; ?></p>
		</div>
	</div>
<?php }	?>
</div>